﻿using SCM.Common;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 材质明细服务接口
    /// </summary>
    public interface IMaterialHomogeneousDtlService
    {
        string Add(T_Material_HomogeneousDtl model);

        bool Delete(string mainId);

        bool Update(T_Material_HomogeneousDtl model);

        bool Save(string materialHomogeneousID,List<T_Material_HomogeneousDtl> list);

        T_Material_HomogeneousDtl GetById(string id);

        List<T_Material_HomogeneousDtl> GetList(string materialHomogeneousID);

        PageData<T_Material_HomogeneousDtl> Query(string materialHomogeneousID, PageInfo page);
    }
}
